package eiisan.service.user;

import eiisan.dao.param.user.Doregister;
import eiisan.util.model.response.Result;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;

public interface UserService {

    /**
     * 用户注册
     */
    Result register(@Valid @NotNull Doregister param);

    /**
     * 用户注销
     */
    Result logOff();
}
